// testing global as described in http://www.w3schools.com/jsref/dom_obj_document.asp

// document.cookie
try{
	var str = document.cookie;
	assertFalse(document.cookie.indexOf("testcookie") == -1);
	success("document.cookie");
} catch(e) {
	alert(e.name + ": " + e.message);
}
// document.URL
try{
	var str = document.URL;
	assertFalse(document.URL.indexOf("kul") == -1);
	success("document.URL");
} catch(e) {
	alert(e.name + ": " + e.message);
}

// document
try{
//	assertTrue(document);
//	success("document instanceof HTMLDocument");
} catch(e) {
	alert(e.name + ": " + e.message);
}